package com.open.capacity.user.model.desk;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class Config {

    private Boolean topTaskBar;
    private Boolean sound;
    private String wallpaper;
    private Boolean wallpaperBlur;
    private Boolean wallpaperSlide;
    private Boolean wallpaperSlideRandom;
    private Integer wallpaperSlideItv;
    private Long wallpaperSlideTime;
    private Integer wallpaperSlideIndex;
    private Integer openMax;
    private Integer idCounter;
    private String themeColor;
    private Boolean autoThemeColor;
    private List<Wallpaper> wallpapers;
    private String pathRes;
    private Boolean shortcutsSortAuto;
    private Boolean debug;
    private Boolean winBlur;

    @Data
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    public static class Wallpaper {
        public Wallpaper(String _image, String _preview) {
            this.image = _image;
            this.preview = _preview;
        }

        private String image;
        private String preview;
    }
}
